package cn.ht.jywrwater.module.ht.convert.customers;

import java.util.*;

import cn.ht.jywrwater.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.ht.jywrwater.module.ht.controller.admin.customers.vo.*;
import cn.ht.jywrwater.module.ht.dal.dataobject.customers.CustomersDO;

/**
 * 用户 Convert
 *
 * @author hzx
 */
@Mapper
public interface CustomersConvert {

    CustomersConvert INSTANCE = Mappers.getMapper(CustomersConvert.class);

    CustomersDO convert(CustomersCreateReqVO bean);

    CustomersDO convert(CustomersUpdateReqVO bean);

    CustomersRespVO convert(CustomersDO bean);

    List<CustomersRespVO> convertList(List<CustomersDO> list);

    PageResult<CustomersRespVO> convertPage(PageResult<CustomersDO> page);

    List<CustomersExcelVO> convertList02(List<CustomersDO> list);

}
